﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Goods
{
    /// <summary>
    /// BTB_Goods
    /// </summary>
    [Table("BTB_Goods")]
    public class BTB_Goods
    {

        /// <summary>
        /// ID
        /// </summary>
        [Key, Column(Order = 1)]
        public String ID { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public String GoodsName { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 商品类型id
        /// </summary>
        public String GoodsTypeId { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        public String Supplierid { get; set; }

        /// <summary>
        /// 商品描述
        /// </summary>
        public String GoodsDescribe { get; set; }

        /// <summary>
        /// 商品图片
        /// </summary>
        public String GoodsPic { get; set; }

        /// <summary>
        /// 商品价格
        /// </summary>
        public Decimal GoodsPrices { get; set; }

        /// <summary>
        /// 是否特惠
        /// </summary>
        public Boolean? IsHot { get; set; }

        /// <summary>
        /// 商品详情
        /// </summary>
        public String Details { get; set; }

        /// <summary>
        /// 规格参数id
        /// </summary>
        public String Parameterid { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public Int32 Stock { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 编辑人
        /// </summary>
        public String Editor { get; set; }

        /// <summary>
        /// 编辑时间
        /// </summary>
        public DateTime EditTime { get; set; }

        /// <summary>
        /// 是否上架
        /// </summary>
        public Boolean? IsSale { get; set; }

        /// <summary>
        /// 销量
        /// </summary>
        public Int32 SaleCount { get; set; }

        /// <summary>
        /// RootType
        /// </summary>
        public String RootType { get; set; }

        /// <summary>
        /// RootTypeTwo
        /// </summary>
        public String RootTypeTwo { get; set; }

        /// <summary>
        /// 划线价格
        /// </summary>
        public Decimal? MarkingPrice { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public String Specifications { get; set; }

        /// <summary>
        /// 特惠
        /// </summary>
        public Boolean? Preferential { get; set; }

        /// <summary>
        /// warning
        /// </summary>
        public Int32? warning { get; set; }

        /// <summary>
        /// 特殊分类
        /// </summary>
        public Boolean SpecialType { get; set; }


        /// <summary>
        /// 是否积分商品
        /// </summary>
        public Boolean? IsPointGoods { get; set; } = false;

        /// <summary>
        /// 积分价格
        /// </summary>
        public Int32 PointPrice { get; set; }

    }
}